package com.genius.system.pojo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.genius.core.BaseEntity;
import lombok.Data;

/**
 * sys_dict_data
 * @author geniusk
 */
@Data
public class DictData extends BaseEntity {
    /**
     * 字典编码ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long dictDataId;

    /**
     * 字典排序
     */
    private Integer dictSort;

    /**
     * 字典标签
     */
    private String dictLabel;

    /**
     * 字典键值
     */
    private String dictValue;

    /**
     * 字典ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long dictId;

    /**
     * 状态（1正常 0停用）
     */
    private String status;

    private static final long serialVersionUID = 1L;
}